package operation;

import book.Book;
import book.BookList;

public class ShowOperation implements IOperation{
    public void work(BookList bookList){
        System.out.println("显示图书");
        int size= bookList.getUsedsize();
        int i=0;
        for(i=0;i<size;i++){
            Book book=bookList.getBook(i);
            System.out.println(book);
        }
        }
    }

